<?php
class Comunication_IndexController extends Myh_Controller_Action
{
	protected $_arrParams;
	protected $_currentController;
	protected $_mainAction;
	public function init()
	{
		$this->_arrParams 			= $this->getRequest()->getParams();
		$this->_currentController 	= '/' . $this->_arrParams['module'] .
									  '/' . $this->_arrParams['controller'];
		$this->_mainAction 			= '/' . $this->_arrParams['module'] .
							 		  '/' . $this->_arrParams['controller'] . 
							 		  '/' . 'index';
		$this->view->arrParams 			= $this->_arrParams;
		$this->view->currentContrller 	= $this->_currentController; 
		$this->view->mainAction			= $this->_mainAction;
		$templatePath					= APP_PATH . '/design/frontend/default/template';
		$this->loadTemplate($templatePath);
	}
	public function indexAction()
	{
		$this->view->title = 'Cộng đồng toán học Việt Nam - Cộng đồng chia sẻ kiến thức';
		$this->view->headTitle($this->view->title, true);
	}
}